package com.yesallchina.wxapp.officialaccount.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "wxapp.officialaccount.apiurl", ignoreUnknownFields = true)
public class WxOfficialAccountApiUrlProperties {

    private String baseAccessToken = "https://api.weixin.qq.com/cgi-bin/token";

    private String callbackIp = "https://api.weixin.qq.com/cgi-bin/getcallbackip";

    private String apiDomainIp = "https://api.weixin.qq.com/cgi-bin/get_api_domain_ip";

    private String menuCreate = "https://api.weixin.qq.com/cgi-bin/menu/create";

    private String menuGet = "https://api.weixin.qq.com/cgi-bin/get_current_selfmenu_info";

    private String menuDelete = "https://api.weixin.qq.com/cgi-bin/menu/delete";

    private String msgSendCustom = "https://api.weixin.qq.com/cgi-bin/message/custom/send";

    private String msgSendTpl = "https://api.weixin.qq.com/cgi-bin/message/template/send";

    private String jsTicketGet = "https://api.weixin.qq.com/cgi-bin/ticket/getticket";

    private String qrcodeCreate = "https://api.weixin.qq.com/cgi-bin/qrcode/create";

    private String shorturlCreate = "https://api.weixin.qq.com/cgi-bin/shorturl";

    private String  payUnifiedorder = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    private String refund = "https://api.mch.weixin.qq.com/secapi/pay/refund";


    private String webAccessToken = "https://api.weixin.qq.com/sns/oauth2/access_token";

    private String userByOpenid = "https://api.weixin.qq.com/cgi-bin/user/info";

    public String getPayUnifiedorder() {
        return payUnifiedorder;
    }

    public void setPayUnifiedorder(String payUnifiedorder) {
        this.payUnifiedorder = payUnifiedorder;
    }

    public String getShorturlCreate() {
        return shorturlCreate;
    }

    public void setShorturlCreate(String shorturlCreate) {
        this.shorturlCreate = shorturlCreate;
    }

    public String getBaseAccessToken() {
        return baseAccessToken;
    }

    public void setBaseAccessToken(String baseAccessToken) {
        this.baseAccessToken = baseAccessToken;
    }

    public String getWebAccessToken() {
        return webAccessToken;
    }

    public void setWebAccessToken(String webAccessToken) {
        this.webAccessToken = webAccessToken;
    }

    public String getUserByOpenid() {
        return userByOpenid;
    }

    public void setUserByOpenid(String userByOpenid) {
        this.userByOpenid = userByOpenid;
    }

    public String getCallbackIp() {
        return callbackIp;
    }

    public void setCallbackIp(String callbackIp) {
        this.callbackIp = callbackIp;
    }

    public String getApiDomainIp() {
        return apiDomainIp;
    }

    public void setApiDomainIp(String apiDomainIp) {
        this.apiDomainIp = apiDomainIp;
    }

    public String getMenuCreate() {
        return menuCreate;
    }

    public void setMenuCreate(String menuCreate) {
        this.menuCreate = menuCreate;
    }

    public String getMenuGet() {
        return menuGet;
    }

    public void setMenuGet(String menuGet) {
        this.menuGet = menuGet;
    }

    public String getMenuDelete() {
        return menuDelete;
    }

    public void setMenuDelete(String menuDelete) {
        this.menuDelete = menuDelete;
    }

    public String getMsgSendCustom() {
        return msgSendCustom;
    }

    public void setMsgSendCustom(String msgSendCustom) {
        this.msgSendCustom = msgSendCustom;
    }

    public String getJsTicketGet() {
        return jsTicketGet;
    }

    public void setJsTicketGet(String jsTicketGet) {
        this.jsTicketGet = jsTicketGet;
    }

    public String getQrcodeCreate() {
        return qrcodeCreate;
    }

    public void setQrcodeCreate(String qrcodeCreate) {
        this.qrcodeCreate = qrcodeCreate;
    }

    public String getRefund() {
        return refund;
    }

    public void setRefund(String refund) {
        this.refund = refund;
    }

    public String getMsgSendTpl() {
        return msgSendTpl;
    }

    public void setMsgSendTpl(String msgSendTpl) {
        this.msgSendTpl = msgSendTpl;
    }
}
